import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
// 引入fade过度动画
import 'element-ui/lib/theme-chalk/base.css';
// 引入collapse 展开折叠动画
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
import infiniteScroll from 'vue-infinite-scroll'

Vue.config.productionTip = false
Vue.use(infiniteScroll)
Vue.use(ElementUI)

Vue.component(CollapseTransition.name, CollapseTransition)
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
